<div class="container-fluid form-horizontal">

	
		<style type="text/css">
			 .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
				position: inherit !important;; 
			}
		</style>
				
	<div class="col-xs-10 mt10" >
		<div class="form-group">
			<label class="col-xs-2 control-label">确认项</label>
			<div class="col-xs-10">
				<select class="form-control" 
				ng-model="affirm.sysaffirm_target_code" ng-disabled="util.what == 'info'"
				ng-options="ticket_sys_affirm.value as ticket_sys_affirm.label for ticket_sys_affirm in page.affirmlist"
	            >
	            </select>
			</div>
		</div>
	</div>

	<!-- 红海滩廊道需要的内容 -->
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code == 'langdao' 
		|| affirm.sysaffirm_target_code == 'huaxiapiaolian' 
		|| affirm.sysaffirm_target_code.indexOf('royaloc') == 0
		|| affirm.sysaffirm_target_code.indexOf('supply_tstc') == 0 
		|| affirm.sysaffirm_target_code.indexOf('weshop_juyou') == 0 ">
		<div class="form-group">
			<label class="col-xs-2 control-label">商品id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_code"  ng-disabled="util.what == 'info'"
				>
			</div>
		</div>
	</div>


	<!-- 红海滩廊道需要的内容 -->
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code == 'langdao' 
		|| affirm.sysaffirm_target_code == 'huaxiapiaolian'
		|| affirm.sysaffirm_target_code.indexOf('royaloc') == 0  ">
		<div class="form-group">
			<label class="col-xs-2 control-label">退票类别</label>
			<div class="col-xs-10">
		    	<label class="radio-inline">
				  <input type="radio" name="sysaffirm_target_goods_back_type" value="0"
				  ng-model="affirm.sysaffirm_target_goods_back_type" ng-disabled="util.what == 'info'"
				  > 不限制
				</label>
				<label class="radio-inline">
				  <input type="radio" name="sysaffirm_target_goods_back_type" value="1"
				  ng-model="affirm.sysaffirm_target_goods_back_type" ng-disabled="util.what == 'info'"
				  > 只能退最大可用数量
				</label>
		    </div>
		</div>
	</div>
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code == 'langdao' 
		|| affirm.sysaffirm_target_code == 'huaxiapiaolian'
		|| affirm.sysaffirm_target_code.indexOf('royaloc') == 0  ">
		<div class="form-group">
			<label class="col-xs-2 control-label">成人/儿童</label>
			<div class="col-xs-10">
		    	<label class="radio-inline">
				  <input type="radio" name="sysaffirm_target_goods_child_flag" value="0"
				  ng-model="affirm.sysaffirm_target_goods_child_flag" ng-disabled="util.what == 'info'"
				  > 成人
				</label>
				<label class="radio-inline">
				  <input type="radio" name="sysaffirm_target_goods_child_flag" value="1"
				  ng-model="affirm.sysaffirm_target_goods_child_flag" ng-disabled="util.what == 'info'"
				  > 儿童
				</label>
		    </div>
		</div>
	</div>
	
	<!-- 票付通 -->
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code.indexOf('supply_piaofutong') == 0">
		<div class="form-group">
			<label class="col-xs-2 control-label">商品id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_code"  ng-disabled="util.what == 'info'"
				>
			</div>
			<br/>
			<br/>
			<label class="col-xs-2 control-label">商品景区id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_view"  ng-disabled="util.what == 'info'"
				>
			</div>
			<br/>
			<br/>			
			<label class="col-xs-2 control-label">商品供应商id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_supply"  ng-disabled="util.what == 'info'"
				>
			</div>
		</div>
	</div>
	
	<!-- 同程旅游， 银科环企（热高） -->
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code == 'supply_tongchenglvyou'
		|| affirm.sysaffirm_target_code == 'supply_yinkehuanqi'
		">
		<div class="form-group">
			<label class="col-xs-2 control-label">商品id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_code"  ng-disabled="util.what == 'info'"
				>
			</div>
			<br/>
			<br/>
			<label class="col-xs-2 control-label">商品景区id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_view"  ng-disabled="util.what == 'info'"
				>
			</div>
			<!--<br/>
			<br/>			
			<label class="col-xs-2 control-label">商品供应商id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_supply"  ng-disabled="util.what == 'info'"
				>
			</div>-->
		</div>
	</div>
	
	<!-- 智游宝 -->
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code == 'supply_zhiyoubao'">
		<div class="form-group">
			<label class="col-xs-2 control-label">商品id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_code"  ng-disabled="util.what == 'info'"
				>
			</div>
			<br/>
			<br/>
			<!--<label class="col-xs-2 control-label">商品景区id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_view"  ng-disabled="util.what == 'info'"
				>
			</div>-->
			<!--<br/>
			<br/>			
			<label class="col-xs-2 control-label">商品供应商id</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_supply"  ng-disabled="util.what == 'info'"
				>
			</div>-->
		</div>
	</div>
	
	<!-- 小径网络 -->
	<div class="col-xs-10" 
		ng-show="affirm.sysaffirm_target_code == 'supply_xiaojing'">
		<div class="form-group">
			<label class="col-xs-2 control-label">景区编码</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_code"  ng-disabled="util.what == 'info'"
				>
			</div>
			<br/>
			<br/>
			<label class="col-xs-2 control-label">门票编码</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_view"  ng-disabled="util.what == 'info'"
				>
			</div>
			<br/>
			<br/>			
			<label class="col-xs-2 control-label">门票ID</label>
			<div class="col-xs-10">
				<input type="text" class="form-control"
				ng-model="affirm.sysaffirm_target_goods_supply"  ng-disabled="util.what == 'info'"
				>
			</div>
		</div>
	</div>

	<!-- 自我游 -->
	<div class="col-xs-10" ng-show="affirm.sysaffirm_target_code == 'supply_ziwoyou'">
		<div class="form-group">
			<label class="col-xs-2 control-label">产品ID</label>
			<div class="col-xs-10">
				<input type="text" class="form-control" ng-model="affirm.sysaffirm_target_goods_code">
			</div>
			<br/>
			<br/>
			<label class="col-xs-2 control-label">预订必须信息</label>
			<div class="col-xs-10">
				<input type="text" class="form-control" placeholder="例如 link_man,link_phone" ng-model="affirm.sysaffirm_target_goods_view">
			</div>
			<br/>
			<br/>
			<label class="col-xs-2 control-label">客人资料要求</label>
			<div class="col-xs-10">
				<label class="radio-inline">
				  <input type="radio" name="sysaffirm_target_goods_supply" value="0"
				  ng-model="affirm.sysaffirm_target_goods_supply" 
				  > 0
				</label>
				<label class="radio-inline">
				  <input type="radio" name="sysaffirm_target_goods_supply" value="1"
				  ng-model="affirm.sysaffirm_target_goods_supply" 
				  > 1
				</label>
				<!-- <select class="form-control" ng-model="affirm.sysaffirm_target_goods_supply">
					<option value="0">0</option>
					<option value="1">1</option>
	            </select> -->
			</div>
			<br/>
			<br/>
		</div>
	</div>

	<div class="col-xs-10"  ng-if="(saleobj.state == '0' || saleobj.state == '2') && (util.what != 'info')">
		<div class="form-group">
			<label class="col-sm-2 col-xs-12 control-label"></label>
			<div class="col-sm-10 col-xs-12">
				<button type="button" class="btn btn-primary btn-lg btn-block"
				ng-click="save()"
				>保存</button>
			</div>
		</div>
	</div>

		
</div>